package com.tdd;

import static org.junit.Assert.assertEquals;

import java.math.BigDecimal;

import org.junit.Test;

public class MultiplyTest {
	@Test
	public void simpleMultiplication() {
		HpStack stack = new HpStack();
		stack.push(new BigDecimal(4));
		stack.push(new BigDecimal(-3.5));
		new Multiply().operate(stack);
		assertEquals(-14, stack.peek());
	}
}
